package st.bossbirdroom.lock_screen;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class LockActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_lock);
    }

    public void lock(View v)
    {
        if(LockScreenManager.isActive(this))
        {
            LockScreenManager.lockScreen(this);
        }
        else {
            LockScreenManager.getAuth(this);
        }
    }
}
